import Vue from 'vue'
import Router from 'vue-router'
import Layout from '../view/layout/Index'
import Login from '../view/login/Login3'
import Login4 from '../view/login/Login4';
import Employee from "../view/basic/Employee";
import perfume from "../view/basic/perfume"
import Logistics from"../view/basic/Logistics"
Vue.use(Router)


export default new Router({
  routes: [
    {
      path: '/',
      name: 'Login',
      component: Login
    },
    {
      path: '/login4',
      name: 'Login4',
      component: Login4
    },
    {
      path: '/layout',
      name: 'Layout',
      component: Layout,
      children: [
        {
          path: 'Employee',
          name: 'Employee',
          component: Employee
        },{
          path:'perfume',
          name:'perfume',
          component: perfume
        },{
          path:'Logistics',
          name:'Logistics',
          component:Logistics
        }
      ]
    }
  ]
})
